﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace InterFaceFinance
{
    public interface IJournalDB
    {
        object getData();
        int InsertJournals(IJournal iJournal);
        void InsertJournalTransaction(int intJournalid, double dblAmount, int intChartofAccountid, int intDebitCredit);
        object LoadDBAccounts(int CompanyId);
        object LoadDBJournal(int JournalId);
        object EditDBJournal(int JournalId);
        object LoadChartofAccount(int CompanyId);
        object EditChartofAccount(int ChartofAccountID, int ChartofAccID, int CompanyId);
        object LoadFinancialYear(string currdate, int CompanyId);
        object LoadControlofAccounts(int CompanyId);
        object LoadSingleControlofAccounts(int ChartofAccID, int CompanyId);
        object LoadControlofAccounts_ProfitLoss(int CompanyID);
        object LoadControlofAccounts_BalanceSheet(int CompanyID);
        int InsertChartofAccountDB(IChartofAccounts IChartofAccount,bool IsControl);
        object UpdateFinancialYear(int Yearid, ICloseAccount ICloseAcc);

    }
}
